package org.example.services.aop;

public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome(String name, int age) {
        System.out.println("执行了业务方法doSome");
    }

    @Override
    public String doOther(String name, int age) {
        System.out.println("执行了doOther()业务方法");
        return "abcd";
    }

    @Override
    public String doFirst(String name, int age) {

        System.out.println("执行了业务方法doFirst()");

        return "doFirst";
    }

    @Override
    public void doSecond() {
        System.out.println("执行了业务员方法doSecond() "+(10/0));
    }

    @Override
    public void doThird() {
        System.out.println("执行了业务方法doThird"+(10/0));
    }


}
